package com.mathdroid.gui.main.abilities;

import com.mathdroid.gui.componentlist.AComponentListElement;
import com.mathdroid.model.abilities.Ability;

/**
 * This is basically a conversion of the ability model. This is used as a model
 * element of the ability list model.
 */
public final class AbilityElement extends AComponentListElement {

	/**
	 * The ability.
	 */
	private Ability ability = null;
	
	/**
	 * Create an ability element.
	 * @param a The ability.
	 */
	public AbilityElement(final Ability a) {
		this.ability = a;
	}

	/**
	 * @return the ability
	 */
	public Ability getAbility() {
		return ability;
	}
	
}
